package com.feri.fc.admin.service;

import com.feri.fc.admin.param.PageParam;
import com.feri.fc.entity.Hospital;
import com.feri.fc.param.HospitalAdd;
import com.feri.fc.vo.PageData;
import com.feri.fc.vo.R;

/**
 * 千锋Java,为你而生！
 *
 * @Author: Feri
 * @Date:2024/11/27 11:15
 * @Modified:
 */
public interface HospitalService {

    /**
     * 新增*/
    R add(HospitalAdd add);
    /**
     * 分页查询*/
    PageData<Hospital> queryPage(PageParam param);
    /**
     * 查询所有医院*/
    R all();
}
